<div class="container" id="main_content" style="width: 550px">
	<form class="form-horizontal" id="registerHere" method='post' action=''>
		<fieldset>

			<legend>S'enregistrer</legend>
			
			<div class="control-group">
				<label class="control-label">Identifiant</label>
				<div class="controls">
				<div class="input-prepend">
					<span class="add-on"><i class="icon-user"></i> </span>
					<input type="text" class="username span4" id="user_name"
						name="user_name">
				</div>
				</div>
			</div>

			<div class="control-group">
				<label class="control-label">Mot de passe</label>
				<div class="controls">
				<div class="input-prepend">
					<span class="add-on"><i class="icon-lock"></i> </span>
					<input type="password" class="password span4" id="pwd" name="pwd">
				</div>
				</div>
			</div>
			
			<div class="control-group">
				<label class="control-label">Confirmer</label>
				<div class="controls">
				<div class="input-prepend">
					<span class="add-on"><i class="icon-lock"></i> </span>
					<input type="password" class="password span4" id="confirm_pwd" name="confirm_pwd">
				</div>
				</div>
			</div>
			
			<div class="control-group">
				<label class="control-label">Adresse électronique</label>
				<div class="controls">
				<div class="input-prepend">
					<span class="add-on"><i class="icon-envelope"></i> </span>
					<input type="text" class="span4" id="user_email" name="user_email">
				</div>
				</div>
			</div>

			<div class="control-group success">
				<label class="control-label"></label>
				<div class="controls">
					<a id="create" class="btn btn-success">Créer un compte</a>
				</div>
			</div>

		</fieldset>
		
		<div class="alert alert-success fade in" style="display:none">
			Création du compte réussie !
		</div>
	</form>
</div>

<script>
$(document).ready( function() {

	$('.alert .close').live("click", function(e) {
	    $(this).parent().hide();
	});		

	$('a#create').live("click", function(e) {
	    $('.alert').show();
	});
});
</script>
